<HTML><HEAD>
<TITLE>netwib doc_html (version 5.39.0)</TITLE>
</HEAD><BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H2><A HREF="../index.html">index</A></H2><HR><BR><BR>
<PRE>

<FONT COLOR="#880000">/*-------------------------------------------------------------*/</FONT>
<FONT COLOR="#880000"><B>/***************************************************************
 * Netwib provides user with functions to show packets. They   *
 * are useful, but will never be as powerful as a sniffer such *
 * as Ethereal, specialized in this task.                      *
 * Two main differences exists between netwib and a sniffer :  *
 *  - a sniffer decodes packets on fly and store info in a     *
 *    tree. Netwib decodes packets and store info in a         *
 *    structure (ie netwib_udphdr), then this structure can be *
 *    used create or show packets.                             *
 *  - with a sniffer, user clicks on the GUI to obtain details *
 *    about specific parts of a packet. With Netwib, this is   *
 *    not possible.                                            *
 ***************************************************************/</B></FONT>

<FONT COLOR="#880000">/*-------------------------------------------------------------*/</FONT>
<FONT COLOR="#880000">/* types */</FONT>
<FONT COLOR="#008800">#include &lt;<A HREF="shw/types.html">types.h</A>&gt;</FONT>

<FONT COLOR="#880000">/* Array creation */</FONT>
<FONT COLOR="#008800">#include &lt;<A HREF="shw/array.html">array.h</A>&gt;</FONT>

<FONT COLOR="#880000">/* Link (Ethernet, Token Ring, etc.) */</FONT>
<FONT COLOR="#008800">#include &lt;<A HREF="shw/linkhdr.html">linkhdr.h</A>&gt;</FONT>

<FONT COLOR="#880000">/* IP */</FONT>
<FONT COLOR="#008800">#include &lt;<A HREF="shw/iphdr.html">iphdr.h</A>&gt;</FONT>
<FONT COLOR="#008800">#include &lt;<A HREF="shw/ip4opt.html">ip4opt.h</A>&gt;</FONT>
<FONT COLOR="#008800">#include &lt;<A HREF="shw/ip4opts.html">ip4opts.h</A>&gt;</FONT>
<FONT COLOR="#008800">#include &lt;<A HREF="shw/ip6ext.html">ip6ext.h</A>&gt;</FONT>
<FONT COLOR="#008800">#include &lt;<A HREF="shw/ip6exts.html">ip6exts.h</A>&gt;</FONT>
<FONT COLOR="#008800">#include &lt;<A HREF="shw/arphdr.html">arphdr.h</A>&gt;</FONT>

<FONT COLOR="#880000">/* UDP */</FONT>
<FONT COLOR="#008800">#include &lt;<A HREF="shw/udphdr.html">udphdr.h</A>&gt;</FONT>

<FONT COLOR="#880000">/* TCP */</FONT>
<FONT COLOR="#008800">#include &lt;<A HREF="shw/tcphdr.html">tcphdr.h</A>&gt;</FONT>
<FONT COLOR="#008800">#include &lt;<A HREF="shw/tcpopt.html">tcpopt.h</A>&gt;</FONT>
<FONT COLOR="#008800">#include &lt;<A HREF="shw/tcpopts.html">tcpopts.h</A>&gt;</FONT>

<FONT COLOR="#880000">/* ICMPv4 */</FONT>
<FONT COLOR="#008800">#include &lt;<A HREF="shw/icmp4.html">icmp4.h</A>&gt;</FONT>

<FONT COLOR="#880000">/* ICMPv6 */</FONT>
<FONT COLOR="#008800">#include &lt;<A HREF="shw/icmp6.html">icmp6.h</A>&gt;</FONT>
<FONT COLOR="#008800">#include &lt;<A HREF="shw/icmp6nd.html">icmp6nd.h</A>&gt;</FONT>

<FONT COLOR="#880000">/* packets */</FONT>
<FONT COLOR="#008800">#include &lt;<A HREF="shw/packet.html">packet.h</A>&gt;</FONT>
</PRE><BR><BR><HR><BR>
<H2><A HREF="../index.html">index</A></H2>
</BODY></HTML>
